package com.zq.it.dao.admin;

import java.util.Collection;
import java.util.List;

import com.zq.it.pojo.Student;

public interface StudentDao {

	public void saveStudentEty(Student student);
	public void saveStudentEtyList(Collection<Student> collection);
	public void deleteStudentEtyByID(Integer id);
	public void deleteStudentEtyByObj(Student stuedent);
	public void deleteAllEty(long[] collection);
	public List<Student> findStudentEtyList();
	public List findStudentEtyById(long l);
	public void updateStudentEty(Student stuedent);
	public List findStudentEtyByName(String name);
	public List findStudentEtyByExmp(Student stuedent);
	public List findStudentEtyByHql(String hql);

	public void save(Student transientInstance);
	public void delete(Student persistentInstance);
	public Student findById(Long id);
	public List findByExample(Student instance);
	public List findByProperty(String propertyName, Object value);
	public List findByStudentNo(Object studentNo);
	public List findByStudentName(Object studentName);
	public List findBySex(Object sex);
	public List findByStudentImg(Object studentImg);
	public List findByIdcardNo(Object idcardNo);
	public List findByMobile(Object mobile);
	public List findByClassId(Object classId);
	public List findByEmail(Object email);
	public List findByCreateTime(Object createTime);
	public List findByExtendField(Object extendField);
	public List findAll();
	public void update(Student instance);
	public List findByHql(String hql);
	public List findByTclass(Object value);
}
